package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 竞彩球队对象 jc_team
 * 
 * @author ruoyi
 * @date 2024-07-20
 */
public class JcTeam extends BaseEntity
{
    private static final Long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 球队 */
    @Excel(name = "球队")
    private String team;

    /** 类型1NBA 2英超 3西甲 4意甲 5德甲 6法甲 7中超 8J联赛 9WNBA */
    @Excel(name = "类型1NBA 2英超 3西甲 4意甲 5德甲 6法甲 7中超 8J联赛 9WNBA")
    private Integer type;

    /** 排名 */
    @Excel(name = "排名")
    private Integer ranking;

    /** 赛季 */
    @Excel(name = "赛季")
    private String season;

    /** 主场赢球场数 */
    @Excel(name = "主场赢球场数")
    private Integer homeWins;

    /** 主场输球场数 */
    @Excel(name = "主场输球场数")
    private Integer homeLose;

    /** 客场赢球场数 */
    @Excel(name = "客场赢球场数")
    private Integer opponentWins;

    /** 客场输球场数 */
    @Excel(name = "客场输球场数")
    private Integer opponentLose;

    /** 均均得分 */
    @Excel(name = "均均得分")
    private BigDecimal avgScores;

    /** 均均失分 */
    @Excel(name = "均均失分")
    private BigDecimal avgLoseScores;

    /** 是否有效 1有效 0无效 */
    @Excel(name = "是否有效 1有效 0无效")
    private Integer yn;

    /** 创建人 */
    @Excel(name = "创建人")
    private String creator;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date ts;

    /** 更新人 */
    @Excel(name = "更新人")
    private String modifier;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date modifyTime;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    public void setTeam(String team) 
    {
        this.team = team;
    }

    public String getTeam() 
    {
        return team;
    }

    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }

    public void setRanking(Integer ranking) 
    {
        this.ranking = ranking;
    }

    public Integer getRanking() 
    {
        return ranking;
    }

    public void setSeason(String season) 
    {
        this.season = season;
    }

    public String getSeason() 
    {
        return season;
    }

    public void setHomeWins(Integer homeWins) 
    {
        this.homeWins = homeWins;
    }

    public Integer getHomeWins() 
    {
        return homeWins;
    }

    public void setHomeLose(Integer homeLose) 
    {
        this.homeLose = homeLose;
    }

    public Integer getHomeLose() 
    {
        return homeLose;
    }

    public void setOpponentWins(Integer opponentWins) 
    {
        this.opponentWins = opponentWins;
    }

    public Integer getOpponentWins() 
    {
        return opponentWins;
    }

    public void setOpponentLose(Integer opponentLose) 
    {
        this.opponentLose = opponentLose;
    }

    public Integer getOpponentLose() 
    {
        return opponentLose;
    }

    public void setAvgScores(BigDecimal avgScores) 
    {
        this.avgScores = avgScores;
    }

    public BigDecimal getAvgScores() 
    {
        return avgScores;
    }

    public void setAvgLoseScores(BigDecimal avgLoseScores) 
    {
        this.avgLoseScores = avgLoseScores;
    }

    public BigDecimal getAvgLoseScores() 
    {
        return avgLoseScores;
    }

    public void setCreator(String creator)
    {
        this.creator = creator;
    }

    public String getCreator() 
    {
        return creator;
    }

    public void setTs(Date ts) 
    {
        this.ts = ts;
    }

    public Date getTs() 
    {
        return ts;
    }

    public void setModifier(String modifier) 
    {
        this.modifier = modifier;
    }

    public String getModifier() 
    {
        return modifier;
    }

    public void setModifyTime(Date modifyTime) 
    {
        this.modifyTime = modifyTime;
    }

    public Date getModifyTime() 
    {
        return modifyTime;
    }

    public Integer getYn() {
        return yn;
    }

    public void setYn(Integer yn) {
        this.yn = yn;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("team", getTeam())
            .append("type", getType())
            .append("ranking", getRanking())
            .append("season", getSeason())
            .append("homeWins", getHomeWins())
            .append("homeLose", getHomeLose())
            .append("opponentWins", getOpponentWins())
            .append("opponentLose", getOpponentLose())
            .append("avgScores", getAvgScores())
            .append("avgLoseScores", getAvgLoseScores())
            .append("yn", getYn())
            .append("creator", getCreator())
            .append("ts", getTs())
            .append("modifier", getModifier())
            .append("modifyTime", getModifyTime())
            .toString();
    }
}
